package com.zhuzi.repository;

import com.zhuzi.entity.ths.ThsStockGnEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

@Repository
public interface ThsStockGnEntityRepository extends JpaRepository<ThsStockGnEntity, String> {
    /**
     * 根据股票id集合查询
     *
     * @param stockIds 股票集合
     * @return {@link List}<{@link ThsStockGnEntity}>
     */
    List<ThsStockGnEntity> findByStockIdIn(Collection<String> stockIds);

}
